package com.yizhuoyan.his.ao;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

@Data
public class DepartmentCategoryAo {
    /**
     * 科室类型编码
     */
    @NotNull(message = "科室类型编码不能为空")
    @Length(max = 255,message = "科室类型编码长度不能超过{max}")
    private String code;
    /**
     * 科室类型名称
     */
    @Length(max = 255,message = "科室类型名称长度不能超过{max}")
    private String name;
    private String showOrder;

}
